/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.workplan;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.workplan.Workplantype;

/**
 * @author Administrator (email:xxh@163.com)
 * @since 2013-03-21
 */
public interface WorkplantypeService {

    /****************************************
     * Insert a instace of Workplantype
     ****************************************/
    void insert(Workplantype workplantype) throws Exception;

    /****************************************
     * Insert instaces of Workplantype
     ****************************************/
    void batchInsert(Workplantype workplantype) throws Exception;

    /****************************************
     * Delete a instace of Workplantype
     ****************************************/
    void delete(Workplantype workplantype) throws Exception;

    /****************************************
     * Delete instaces of Workplantype
     ****************************************/
    void batchDelete(Workplantype workplantype) throws Exception;

    /****************************************
     * Update a instace of Workplantype
     ****************************************/
    void update(Workplantype workplantype) throws Exception;

    /****************************************
     * Query instaces of Workplantype
     ****************************************/
    List<BaseModel> queryAsList(Workplantype workplantype) throws Exception;

    /****************************************
     * Query a instaces of Workplantype
     ****************************************/
    BaseModel queryAsObject(Workplantype workplantype) throws Exception;
}
